const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  transpileDependencies: true,
  lintOnSave: false,
  // 配置本地服务器;localhost:8080
  devServer: { // 开启代理
    // 代理配置
    proxy: {
      "/api": {
        target: "https://imissu.herokuapp.com",
        changeOrigin: true,
        onProxyReq(req) {
          req.setHeader("Referer", "https://imissu.herokuapp.com")
        }

      }
    }
  }
})
